<template>
    <div>
        <h1>错误界面</h1>
        <button @click="back">返回</button>
    </div>
</template>

<script setup>
import { useRouter } from 'vue-router';


const router = useRouter()

const back = e =>{
    router.replace({path:'/'})
}

</script>

<style lang="scss" scoped>

</style>